When setting the parent of a widget, queue_resize() on the widget will
be optimized away if the widget already had a resize queued.
Plus, we do not need to resize the widget as its size request is not
going to change.
_gtk_widget_get_mapped (priv->parent))
gtk_widget_map (widget);
- gtk_widget_queue_resize (widget);
+ gtk_widget_queue_resize (priv->parent);
}
/* child may cause parent's expand to change, if the child is